/**
 * Created by webrx on 2024/4/28.
 */
// i18n.js
import {createI18n} from 'vue-i18n'

const messages = {
    en: {
        message: {
            hello: 'hello'
        }
    },
    zh: {
        message: {
            hello: '哈罗'
        }
    }
};

const i18n = createI18n({
    locale: 'zh', // set default locale
    fallbackLocale: 'en', // set fallback locale
    messages, // set locale messages
});

export default i18n
